

String.prototype.allMatchIndexOf = function (findStr) {
  const searchStr = this;
  const indexPosArr = [];
  let currIdxPos = 0;
  while((currIdxPos = searchStr.toUpperCase().indexOf(findStr.toUpperCase(), currIdxPos)) !== -1) {
    
    indexPosArr.push(currIdxPos);
    currIdxPos = currIdxPos + findStr.length;
    
  }
  return indexPosArr;
}

String.prototype.replaceAllMatch = function(){

}
